<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>         
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="css/sal.css" rel="stylesheet" type="text/css" />
<title>Finalize</title>
</head>
<body>
<ul id="nav">
	<li class="current"><a href="Ordering">Home</a></li>

	<li><a href="#">Promotions</a>

	</li>
	<li><a href="History">Customer History</a></li>
	<li><a href="AssignedTable">Assigned Tables</a></li>
	
</ul></br></br></br></br>
<form action="Finalize">
	<p><h1>Current Order</h1></p>
	<c:forEach items="${totalOrder }" var="order" varStatus="status">
		 <pre>	<h2>${order.entree }	${order.price } 	<a href="Finalize?remove=${status.count - 1 }">X</a></h2></pre></br>
		 	<c:forEach items="${order.sides }" var="side">
		 		<pre>		${side}</pre></br>
		 	</c:forEach>
	 </c:forEach>
	 <p><h1>Additional Sides</h1></p>
	 <p>${addSides }</p><br />
	 <p><h1>Total</h1></p>
	 <p>${totalPrice }</p><br />
	 <pre>*****${cCard }          <input name="prevCard" value="prevCard" type="submit"><br /></pre>
	 <input type="text" maxlength="7" name="newCard" /> <input name="newCard" value="newCard" type="submit"><br />
</form>


</body>
</html>